#ifndef _WRAPPER_H__
#define _WRAPPER_H_

#ifdef __cplusplus
extern "C" {
#endif


struct Object;
struct Transaction;

extern struct Object *GetInstance(const char *path);
extern void ReleaseInstance(struct Object **object);
extern int mkfs(struct Object *object);
extern int mount(struct Object *object);
extern int umount(struct Object *object);
extern int queue_transactions(struct Object *object, Transaction *trans);
extern int apply_transactions(struct Object *object, Transaction *trans);

#ifdef __cplusplus
};
#endif
#endif

